package com.bean;

import java.sql.Timestamp;

/**
 * Buy entity. @author MyEclipse Persistence Tools
 */

public class Buy implements java.io.Serializable {

	// Fields

	private Integer buyId;
	private Bookbase bookbase;
	private Integer buyMount;
	private Timestamp buyDate;

	// Constructors

	/** default constructor */
	public Buy() {
	}

	/** full constructor */
	public Buy(Bookbase bookbase, Integer buyMount, Timestamp buyDate) {
		this.bookbase = bookbase;
		this.buyMount = buyMount;
		this.buyDate = buyDate;
	}

	// Property accessors

	public Integer getBuyId() {
		return this.buyId;
	}

	public void setBuyId(Integer buyId) {
		this.buyId = buyId;
	}

	public Bookbase getBookbase() {
		return this.bookbase;
	}

	public void setBookbase(Bookbase bookbase) {
		this.bookbase = bookbase;
	}

	public Integer getBuyMount() {
		return this.buyMount;
	}

	public void setBuyMount(Integer buyMount) {
		this.buyMount = buyMount;
	}

	public Timestamp getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Timestamp buyDate) {
		this.buyDate = buyDate;
	}

}